@fz10: 10px;
@fz12: 12px;
@fz14: 14px;
@fz16: 16px;
@color-h1: #111111;
@color-h2: #656565;
@color-h3: #919191;
@color-h4: #DF0011;
@color-bg: #f3f4f5;
@theme-color: #DF0011;
page {
  height: 100%;
  font-size: @fz14;
  box-sizing: border-box;
  background-color: @color-bg;
}

view,
button,
input {
  box-sizing: border-box;
}

// main
.main {
  position: relative;
  z-index: 1;
  padding: 44px 12px 64px 12px;
  height: 100%;
}

// wrap
.wrap {
  height: 100%;
  background: rgba(255, 255, 255, 1);
  box-shadow: 0px 0px 8px 1px rgba(230, 0, 18, 0.04);
  border-radius: 5px;
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  align-content:flex-start;
  padding: 6px;
  overflow: auto;
  .block {
    width: 50%;
    padding: 6px;
    align-items: flex-start;
    &__inner {}
  }
  .item {
    background: #f2f2f2;
    &__t {
      height: 110px;
      display: flex;
      align-items: center;
      justify-content: center;
      position: relative;
      .cover{
        width: 100%;
        height: 100%;
      }
      .add {
        position: absolute;
        left: 0;
        top: 0;
        width: 100%;
        height: 100%;
        transition: all 300ms;
        &:active {
          opacity: .8;
        }
        &:before,
        &:after {
          content: "";
          position: absolute;
          left: 50%;
          top: 50%;
          transform: translateX(-50%) translateY(-50%);
          background: rgba(204, 204, 204, 1);
        }
        &:before {
          width: 32px;
          height: 1px;
        }
        &:after {
          width: 1px;
          height: 32px;
        }
      }
    }
    &__b {
      display: flex;
      flex-direction: column;
      height: 60px;
      background: rgba(238, 238, 238, 1);
      .t1{
        flex: 1;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: @fz14;
        color: @color-h2;
      }
      .t2 {
        flex: 1;
        display: flex;
        align-items: center;
        padding: 0 12px;
        &__l {
          flex: 1;
          display: flex;
          .label {
            font-size: @fz10;
            padding: 2px 4px;
            color: @theme-color;
            border: 1px solid @theme-color;
            border-radius: 2px;
            margin-right: 6px;
          }
        }
        &__r {
          flex-shrink: 0;
          display: flex;
          align-items: center;
          .icon{
            width: 20px;
            height: 20px;
            background: #ccc;
            border-radius: 4px;
          }
        }
      }
    }
  }
}

// button
.main .btn-wrap {
  position: fixed;
  z-index: 1;
  left: 0;
  bottom: 12px;
  width: 100%;
  padding: 0 12px;
  display: flex;
  align-items: center;
  .btn {
    border-radius: 3px;
    padding: 0 40px;
    color: #fff;
    font-size: @fz14;
    background: linear-gradient(90deg, @theme-color, #e54b4d);
    box-shadow: 0 0 20px #ccc;
    transition: all 300ms;
    &:before,
    &:after {
      content: none;
    }
    &:active {
      opacity: .8;
    }
  }
}

// hairline
.hairline {
  width: 100%;
  height: 1px;
  position: relative;
  &::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 200%;
    height: 1px;
    transform: scale(.5);
    transform-origin: left bottom;
    background: #dddddd;
  }
}